<template>
	<view class="teamShop">
		<view class="shopHeadLine">
			<view class="shopTitle">
				团购优惠
			</view>
			<view class="shop-describe">
				邀好友一起来拼团
			</view>
			<view class="shop-btn">
				更多拼团 >
			</view>
		</view>
		<view class="goods-list">
			<scroll-view class="goods-scroll" scroll-x="true" >
				<view class="single-goods">
					<image src="../../static/index/goodscroll.png" ></image>
					<view class="now-price">
						<text class="price-title">2人拼</text>
						<text class="price-icon">￥</text>
						<text class="price-num">248</text>
					</view>
					<view class="befor-price">
						￥249
					</view>
				</view>
				<view class="single-goods">
					<image src="../../static/index/goodscroll.png" ></image>
					<view class="now-price">
						<text class="price-title">2人拼</text>
						<text class="price-icon">￥</text>
						<text class="price-num">248</text>
					</view>
					<view class="befor-price">
						￥249
					</view>
				</view>
				<view class="single-goods">
					<image src="../../static/index/goodscroll.png" ></image>
					<view class="now-price">
						<text class="price-title">2人拼</text>
						<text class="price-icon">￥</text>
						<text class="price-num">248</text>
					</view>
					<view class="befor-price">
						￥249
					</view>
				</view>
				<view class="single-goods">
					<image src="../../static/index/goodscroll.png" ></image>
					<view class="now-price">
						<text class="price-title">2人拼</text>
						<text class="price-icon">￥</text>
						<text class="price-num">248</text>
					</view>
					<view class="befor-price">
						￥249
					</view>
				</view>
				<view class="single-goods">
					<image src="../../static/index/goodscroll.png" ></image>
					<view class="now-price">
						<text class="price-title">2人拼</text>
						<text class="price-icon">￥</text>
						<text class="price-num">248</text>
					</view>
					<view class="befor-price">
						￥249
					</view>
				</view>
				<view class="single-goods">
					<image src="../../static/index/goodscroll.png" ></image>
					<view class="now-price">
						<text class="price-title">2人拼</text>
						<text class="price-icon">￥</text>
						<text class="price-num">248</text>
					</view>
					<view class="befor-price">
						￥249
					</view>
				</view>
				<view class="single-goods">
					<image src="../../static/index/goodscroll.png" ></image>
					<view class="now-price">
						<text class="price-title">2人拼</text>
						<text class="price-icon">￥</text>
						<text class="price-num">248</text>
					</view>
					<view class="befor-price">
						￥249
					</view>
				</view>
				<view class="single-goods">
					<image src="../../static/index/goodscroll.png" ></image>
					<view class="now-price">
						<text class="price-title">2人拼</text>
						<text class="price-icon">￥</text>
						<text class="price-num">248</text>
					</view>
					<view class="befor-price">
						￥249
					</view>
				</view>
				<view class="single-goods">
					<image src="../../static/index/goodscroll.png" ></image>
					<view class="now-price">
						<text class="price-title">2人拼</text>
						<text class="price-icon">￥</text>
						<text class="price-num">248</text>
					</view>
					<view class="befor-price">
						￥249
					</view>
				</view>
				
			</scroll-view>
		</view>
	</view>
</template>

<script>
	export default {
		name:'team-shop',
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped lang="scss">
.teamShop{
	width: 719rpx;
	margin: 0 auto;
	background: url(../../static/index/teamshopbg.png);
	background-repeat: no-repeat;
	background-size: 100%;
	padding: 0 18rpx;
	.shopHeadLine{
		display: flex;
		padding-top: 30rpx;
		.shopTitle,.shop-describe{
			// display: inline-block;
			// vertical-align: bottom;
			white-space: nowrap;
		}
		.shopTitle{
			color: #333333;
			font-size: 30rpx;
			font-weight:bold;
			line-height: 30rpx;
			height: 28rpx;
			margin-top: 14rpx;
		}
		.shop-describe{
			font-size: 22rpx;
			line-height: 22rpx;
			font-style:italic;
			color: #999999;
			height: 22rpx;
			margin-top: 21rpx;
			margin-left: 16rpx ;
			margin-right: 250rpx;
		}
		.shop-btn{
			width: 124rpx;
			height: 40rpx;
			background-image: url(../../static/index/shopbtn.png);
			background-repeat: no-repeat;
			background-size: 100%;
			font-size: 20rpx;
			color: #FFFFFF;
			text-align: center;
		}
	}
	.goods-list{
		margin-top: 26rpx;
		
		.goods-scroll{
			// display: flex;
			width: 100%;
			white-space: nowrap;
			// display: flex;
			.single-goods{
				display: inline-block;
				margin-right: 10rpx;
				image{
					width: 180rpx;
					height: 180rpx;
				}
				.now-price{
					display: flex;
					justify-content: center;
					align-items: baseline;
					line-height: 1;
					.price-title{
						color: #00A38F;
						font-size: 16rpx;
						font-weight:500;	
					}
					.price-icon{
						color: #00A38F;
						font-size: 22rpx;
						font-weight:bold;
						margin: 0 8rpx;
					}
					.price-num{
						color: #00A38F;
						font-size: 28rpx;
					}
				}
				.befor-price{
					color: #999999;
					font-size: 16rpx;
					font-weight:400;
					text-decoration:line-through;
					text-align: center;
				}
			}
		}
	}
}
</style>
